package com.woniu.his.sms.service;

import com.woniu.his.sms.infra.model.Skd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.sms.service.dto.*;
import com.woniu.his.sms.service.param.*;

import java.util.List;

/**
 * <p>
 * sms_skd(排班)表 服务类
 * </p>
 *
 * @author cb
 * @since 2022-11-25
 */
public interface SkdService extends IService<Skd> {

    boolean createRule(SkdRuleServerParam param);

    boolean deleteRule(List<Long> ids);

    boolean updateRule(SkdRuleServerParam param);

    SkuRuleServiceDto queryRuleDetail(Long sdkRuleId);

    SkdRulePageDto queryPageRule(SkdRulePageServiceParam params);

    SkuSkdPageDto queryPageSkd(SkuSkdPageServiceParam param);

    List<SmsSkdDto> querySkd(SkuSkdServiceParam param);

    List<SmsSkdRuleItemDto> listCanSkdStaff(Long skRuleId);

    Boolean generateSkd(CreateSkdServiceParam createSkdParam);
}
